package com.muyu;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * @ClassName: WarPackageDemoApplication
 * @Author: Zirun.Xin
 * @Date: 2025/3/28 10:58
 * @Version: 1.0
 * @Description: 程序启动入口
 */
@SpringBootApplication
public class WarPackageDemoApplication extends SpringBootServletInitializer {

    public static void main(String[] args) {
        SpringApplication.run(WarPackageDemoApplication.class, args);
    }

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(WarPackageDemoApplication.class);
    }
}
